package com.yvtian.inv.dao;

import java.util.ArrayList;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yvtian.inv.pojo.InvSortEntity;

/**
 * (inv_sort)表数据库访问层
 *
 * @author long
 * @since 2024-04-25 09:47:55
 */
public interface InvSortMapper extends BaseMapper<InvSortEntity> {

    /**
     * 递归查询当前商品及其子商品
     * @param sortId 商品Id
     * @return list
     */
    ArrayList<InvSortEntity> recursionInvSort(Integer sortId);

}

